﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Ocean.His.MedicalInsurance
{
    /// <summary>
    /// 
    /// </summary>
    [DataContract]
    public class SI5102Data
    {
        /// <summary>
        /// 执业人员分类
        /// </summary>
        [DataMember(Name = "prac_psn_type")]
        public string PracPsnType { get; set; }

        /// <summary>
        /// 人员证件类型
        /// </summary>
        [DataMember(Name = "psn_cert_type")]
        public string PsnCertType { get; set; }

        /// <summary>
        /// 证件号码
        /// </summary>
        [DataMember(Name = "certno")]
        public string Certno { get; set; }

        /// <summary>
        /// 执业人员姓名
        /// </summary>
        [DataMember(Name = "prac_psn_name")]
        public string PracPsnName { get; set; }

        /// <summary>
        /// 执业人员代码
        /// </summary>
        [DataMember(Name = "prac_psn_code")]
        public string PracPsnCode { get; set; }
    }

    /// <summary>
    /// 
    /// </summary>
    [DataContract]
    public class SI5102InputModel
    {
        [DataMember(Name = "data")]
        public SI5102Data SI5102Data { get; set; }
    }

    /// <summary>
    /// 5102
    /// 医执人员信息查询
    /// </summary>
    [DataContract]
    public class SI5102RequestModel : SIBaseRequestModel
    {
        /// <summary>
        /// 交易输入
        /// </summary>
        [DataMember(Name = "input")]
        public SI5102InputModel Input { get; set; }

        public SI5102RequestModel(MedicalInsuranceOption medicalInsuranceOption) : base(medicalInsuranceOption)
        {
            Infno = "5102";
        }
    }
}
